package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 病例接种疫苗情况对象 case_vaccination
 * 
 * @author ruoyi
 * @date 2022-04-03
 */
public class CaseVaccination extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 病例id */
    @Excel(name = "病例id")
    private Long caseId;

    /** 接种次数 */
    @Excel(name = "接种次数")
    private Long times;

    /** 第一针疫苗接种时间 */
    @Excel(name = "第一针疫苗接种时间")
    private String firstDate;

    /** 第一针疫苗接种品牌 */
    @Excel(name = "第一针疫苗接种品牌")
    private Long firstBrand;

    /** 第二针疫苗接种时间 */
    @Excel(name = "第二针疫苗接种时间")
    private String secondDate;

    /** 第二针疫苗接种品牌 */
    @Excel(name = "第二针疫苗接种品牌")
    private Long secondBrand;

    /** 第三针疫苗接种时间 */
    @Excel(name = "第三针疫苗接种时间")
    private String thirdDate;

    /** 第三针疫苗接种品牌 */
    @Excel(name = "第三针疫苗接种品牌")
    private Long thirdBrand;

    /** 备用字段 */
    @Excel(name = "备用字段")
    private String alternateField;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCaseId(Long caseId) 
    {
        this.caseId = caseId;
    }

    public Long getCaseId() 
    {
        return caseId;
    }
    public void setTimes(Long times) 
    {
        this.times = times;
    }

    public Long getTimes() 
    {
        return times;
    }
    public void setFirstDate(String firstDate) 
    {
        this.firstDate = firstDate;
    }

    public String getFirstDate() 
    {
        return firstDate;
    }
    public void setFirstBrand(Long firstBrand) 
    {
        this.firstBrand = firstBrand;
    }

    public Long getFirstBrand() 
    {
        return firstBrand;
    }
    public void setSecondDate(String secondDate) 
    {
        this.secondDate = secondDate;
    }

    public String getSecondDate() 
    {
        return secondDate;
    }
    public void setSecondBrand(Long secondBrand) 
    {
        this.secondBrand = secondBrand;
    }

    public Long getSecondBrand() 
    {
        return secondBrand;
    }
    public void setThirdDate(String thirdDate) 
    {
        this.thirdDate = thirdDate;
    }

    public String getThirdDate() 
    {
        return thirdDate;
    }
    public void setThirdBrand(Long thirdBrand) 
    {
        this.thirdBrand = thirdBrand;
    }

    public Long getThirdBrand() 
    {
        return thirdBrand;
    }
    public void setAlternateField(String alternateField) 
    {
        this.alternateField = alternateField;
    }

    public String getAlternateField() 
    {
        return alternateField;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("caseId", getCaseId())
            .append("times", getTimes())
            .append("firstDate", getFirstDate())
            .append("firstBrand", getFirstBrand())
            .append("secondDate", getSecondDate())
            .append("secondBrand", getSecondBrand())
            .append("thirdDate", getThirdDate())
            .append("thirdBrand", getThirdBrand())
            .append("alternateField", getAlternateField())
            .toString();
    }
}
